
  <div class="padder bor-b" style=" padding: 6px 15px 2px 15px;">
        <div class="btn-group pull-right">
          <button type="button" class="btn btn-default btn-sm task-save-btn">
            <i class="icon-save icon-large"></i>
          </button>
          <button type="button" class="btn btn-default btn-sm task-delete-btn">
            <i class="icon-trash icon-large"></i>
          </button>
        </div>
        <div>
          <h6>任务列表一</h6>
        </div>
      </div>    
      <div class="padder bg-white">
       	<form name="task-form">
  	   <input type="hidden" name="task.uuid" value="{d.task.uuid}"/>
        <span class="text-muted">#{d.task.uuid}</span>
        <div class="row">
          <input type="text" name="task.name" class="form-control"  placeholder="任务名称" value="{d.task.name}" style=";border:none;box-shadow:none;" />
        </div>
        <div class="row">
          <textarea name="task.content" class="form-control" rows="3" placeholder="添加描述" style=";border:none;box-shadow:none;">{d.task.content}</textarea>
        </div>
        <div class="row">
          <div class="col-lg-12">
             <input type="text" name="tags" placeholder="添加标签" class="tm-input" style=";border:none;box-shadow:none;"/>
          </div>
        </div>

        <div class="row" style="margin-top:10px;">
          <div class="col-lg-6">
            <div class="input-group input-group-sm">
              <span class="input-group-addon">
                <i class="icon-circle-blank"></i>
              </span>
              <input type="hidden" name="task.tasklist_uuid" value="{d.task.tasklist_uuid}"/>
              <input type="text" class="form-control task-lists" placeholder="" value="{d.task.tasklist_name}"  />               
            </div>            

          </div><!-- /.col-lg-6 -->
          <div class="col-lg-6">
            <div class="input-group input-group-sm">
              <span class="input-group-addon">
                <i class="icon-user"></i>
              </span>
              <input type="hidden" name="task.user_uuid" value="{d.task.user_uuid}"/>
              <input type="text" class="form-control task-users" placeholder="" value="{d.task.username}"  />
            </div>
          </div><!-- /.col-lg-6 -->
        </div><!-- /.row -->  
              
        <div class="row" style="margin-top:10px;">
          <div class="col-lg-6">
            <div class="input-group input-group-sm">
              <span class="input-group-addon">
                <i class="icon-calendar"></i>
              </span>
              <input type="text"  name="task.assign_date" class="form-control assign-date" placeholder="" style="border-right:none;"  data-date-format="yyyy-mm-dd" data-date="" value="{d.task.assign_date}" />
              <span class="input-group-addon" style="background-color:transparent;border-left:none;">
                <i class="icon-remove" style="cursor: pointer"></i>
              </span>
            </div>
          </div><!-- /.col-lg-6 -->
          <div class="col-lg-6">
            <div class="input-group input-group-sm" id="datetimepicker">
              <span class="input-group-addon">
                <i class="icon-flag"></i>
              </span>
               <input type="text" class="form-control  task-priority" value=""  >
            </div>
          </div><!-- /.col-lg-6 -->
        </div><!-- /.row -->  
   </form>
        
        <div class="row" style="margin-top:10px;">
          <div class="col-lg-2">
           讨论
          </div>
          <div class="col-lg-10">
             <hr style="margin-top:10px;" />        
          </div>
        </div><!-- /.row -->  
       <div class="row" style="">
         <div class="col-lg-12" id="comments-lists">
          <div class="media">
            <a class="pull-left" href="#">
              <img class="media-object" data-src="holder.js/64x64" alt="64x64" src="" style="width: 32px; height: 32px;">
            </a>
            <div class="media-body">
              <p>赵鹏 创建了项目 2013-08-21</p>
            </div>
          </div>
          {each d.commentsList as comments}
          <div class="media">
            <a class="pull-left" href="#">
              <img class="media-object" data-src="holder.js/64x64" alt="64x64" src="" style="width: 32px; height: 32px;">
            </a>
            <div class="media-body">
              <div class="media-heading">{comments.content}</div>
             {comments.create_time}
            </div>
          </div>
          {/each}
         </div>
       </div>

       <footer id="comments-panel">
       	<form name="comments-form">
       	<input type="hidden" name="comment.task_uuid" value="{d.task.uuid}"/>
       	<input type="hidden" name="comment.project_uuid" value="{d.task.project_uuid}"/>
         <textarea name="comment.content" class="form-control task-comment" rows="1" placeholder="添加评论"></textarea>
         </form>
       </footer>
      </div>



      